package cn.kelvin.oocl.daytwo.prac1;

public class Performer {
	
	public void perform(Instrucment instrucment){
		instrucment.perform();
	}
	
	public static void main(String[] args) {
		Performer performer = new Performer();
		Instrucment guitar = new Guitar();
		Instrucment piano = new Piano();
		Instrucment violin = new Violin();
		performer.perform(guitar);
		performer.perform(piano);
		performer.perform(violin);
	}
}
